<?php

namespace App\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * TkFlowPriority
 *
 * @ORM\Table(name="tk_flow_priority", indexes={@ORM\Index(name="vccId", columns={"vcc_id"})})
 * @ORM\Entity
 */
class TkFlowPriority
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var int
     *
     * @ORM\Column(name="vcc_id", type="integer", nullable=false, options={"comment"="企业ID"})
     */
    private $vccId = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="priority_name", type="string", length=50, nullable=false, options={"comment"="优先级名称"})
     */
    private $priorityName;

    /**
     * @var bool
     *
     * @ORM\Column(name="priority_order", type="boolean", nullable=false, options={"comment"="优先级顺序（数字越小优先级越低）"})
     */
    private $priorityOrder;

    /**
     * @var bool
     *
     * @ORM\Column(name="is_del", type="boolean", nullable=false, options={"comment"="是否删除（0未删除1已删除）"})
     */
    private $isDel = '0';

    public function getId(): ?int
    {
        return $this->id;
    }

    public function getVccId(): ?int
    {
        return $this->vccId;
    }

    public function setVccId(int $vccId): self
    {
        $this->vccId = $vccId;

        return $this;
    }

    public function getPriorityName(): ?string
    {
        return $this->priorityName;
    }

    public function setPriorityName(string $priorityName): self
    {
        $this->priorityName = $priorityName;

        return $this;
    }

    public function getPriorityOrder(): ?bool
    {
        return $this->priorityOrder;
    }

    public function setPriorityOrder(bool $priorityOrder): self
    {
        $this->priorityOrder = $priorityOrder;

        return $this;
    }

    public function getIsDel(): ?bool
    {
        return $this->isDel;
    }

    public function setIsDel(bool $isDel): self
    {
        $this->isDel = $isDel;

        return $this;
    }


}
